
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<logic:messagesPresent message="false">
	<%int i =0; %>
	<html:messages id="error">
		
		<% if(i == 0){%>
		<div align="center"><img src="images/cancel_check.gif" vspace="10" /></div>
		<div class="clear"></div>
		<div class="errormessage"><bean:write name="error"/></div>
		<div class="clear"></div>
		<%}i++;%>
	</html:messages>	
</logic:messagesPresent> 

<logic:messagesPresent message="true">
	<html:messages id="messages" message="true" >
		<div align="center"><img src="images/approved_check.gif" vspace="10" /></div>
		<div class="clear"></div>
		<div class="successmessage"><bean:write name="messages"/></div>		
		<div class="clear"></div>		
	</html:messages>
</logic:messagesPresent>

